WM_NCCALCSIZEWhat links here?
The WM_NCCALCSIZE message is sent when the size and position of a window's client area must be calculated. By processing this message, an application can control the content of the window's client area when the size or position of the window changes.

A window receives this message through its WindowProc function.

    LRESULT CALLBACK WindowProc(
      HWND hwnd,       // handle to window
      UINT uMsg,       // WM_NCCALCSIZE
      WPARAM wParam,   // validation flag (BOOL)
      LPARAM lParam    // data (LPNCCALCSIZE_PARAMS or LPRECT)
    );


Parameters



Return Values

RemarksThe window may be redrawn, depending on whether the CS_HREDRAW or CS_VREDRAW class style is specified. This is the default, backward-compatible processing of this message by the DefWindowProc function (in addition to the usual client rectangle calculation described in the preceding table).

Requirements
programming - windows - WM_NCCALCSIZE
filename:programming - windows - WM_NCCALCSIZE
filename:programming%20%2D%20windows%20%2D%20WM_NCCALCSIZE
last edit:March 26 2010 17:22:52 (5154 days ago)
ct = 1714953015.000000 = May 05 2024 19:50:15
ft = 1269638572.000000 = March 26 2010 17:22:52
dt = 445314443.000000